<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?=base_url()?>public/css/style1.css" />
<script type="text/javascript" src="<?=base_url()?>public/js/jq.1.12.4.js"></script>
<title>登陆</title>
</head>
<body>
<div class="bg">
   <div class="text" style="left: 21%;">
   		<?php echo form_open('admin/login/info_post',array('id'=>'myform')); ?>
       	<div class="nei">
            <p><span>公益账号</span><input name="user_account" id="user_account" type="text" value="" /></p>
            <p><span>账号密码</span><input name="pwd" id="pwd" type="password" value="" /></p>
            <p id="btn_login" class="btn">
            	<span>立即登录</span>
            </p>
            <p class="liji">
            	<!-- <span><a href="reg" style="color:#000000" >立即注册</a></span>
   				<span><a href="forget">找回密码</a></span> -->
   			</p>
        </div>
    	</form>
   </div>
</div>
</body>
</html>
<script type="text/javascript">
$(function(){
	$('#btn_login').on('click', function(event) {
		
		if($('#user_account').val()=='' || $('#pwd').val() == ''){
			alert('请输入用户或密码');
			return false;
		}
		$('#myform').submit();
	});
})
</script>
